package pojo;

import java.util.Date;

public class User {
	private Integer id;
	private String name;
	private Double sal;
	private Date birth;
	private boolean sex;
	
	public User(){
		super();
	}
	
	public User(Integer id, String name, Double sal, Date birth, boolean sex) {
		super();
		this.id = id;
		this.name = name;
		this.sal = sal;
		this.birth = birth;
		this.sex = sex;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getSal() {
		return sal;
	}

	public void setSal(Double sal) {
		this.sal = sal;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public boolean isSex() {
		return sex;
	}

	public void setSex(boolean sex) {
		this.sex = sex;
	}

}
